package wanbang.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import wanbang.service.DelecteCartService;

@Controller
public class DelectCartController {
	@Autowired
	private DelecteCartService delecteCartService;
	@RequestMapping(value="/deleteCart" )
	public void deleteCart(Integer userId,Integer bookId) {
		this.delecteCartService.deleteCart(userId, bookId);
	}
}
